/*
 * PlainSmiley.cpp
 *
 *  Created on: Mar 18, 2013
 *      Author: sbellus
 */

#include "PlainSmiley.h"
#include <Printer.h>

PlainSmiley::PlainSmiley() :
   type(NoSmiley)
{
}

PlainSmiley::~PlainSmiley()
{
}

void PlainSmiley::SetType(int t)
{
   type = t;
}

void PlainSmiley::PrintOn(Printer& printer)
{
   if (type == HappySmiley)
   {
      printer.Print(":)");
      return;
   }

   if (type == ExcitedSmiley)
   {
      printer.Print(":D");
      return;
   }
}

